<?php

use Illuminate\Database\Migrations\Migration;

class CreateTacvuhethongTable extends Migration
{
    /**
    * Run the migrations.
    *
    * @return void
    */
    public function up()
    {
        Schema::create('tac_vu_he_thong', function($table)
        {
            $table->engine='InnoDB';
            $table->increments('id')->unsigned();
            $table->string('mo_ta_tv', 100);
            $table->string('mo_ta_menu', 100)->nullable()->default(null);
            $table->string('link_menu', 15);
            $table->boolean('hoat_dong');
            $table->string('icon_menu', 50)->nullable()->default(null);
        });
    }

    /**
    * reverse the migrations.
    *
    * @return void
    */
    public function down()
    {
        Schema::drop('tac_vu_he_thong');
    }
}